package com.probiz.estore.inventory.dao.impl;

import com.probiz.estore.common.model.inventory.InventoryAudit;
import com.probiz.estore.common.model.inventory.InventoryAudit.FilterHqlName;
import com.probiz.estore.core.dao.impl.HibernateGenericDaoImpl;
import com.probiz.estore.inventory.dao.InventoryAuditDao;

/**
 * Dao implementation for InventoryAudit.
*/
public class InventoryAuditDaoImpl extends HibernateGenericDaoImpl<InventoryAudit> implements InventoryAuditDao {
	protected void initFilterHqlMap() {
		filterHqlMap.put(FilterHqlName.FIND_BY_PRODUCTSKUID, "from InventoryAudit s where s.productSku.productSkuId = ? order by s.inventoryAuditId desc");
	}
}
